package com.zq.learing.sort;

/**
 * @Author: zhaoqi
 * @Date: 12/4/2019 9:41 PM
 * @Version 1.0
 */

public class DemoMain {

    public static void main(String[] args) {

        String[] arr = {"q","w","e","a"};
        Sorter sorter = new BubbleSort();
        sorter.Sort(arr);
        for (String s : arr) {
            System.out.println(s);
        }

        Integer[] arr1 = {9,5,1,15,2,65,12};
        Sorter sorter2 = new BubbleSort();
        sorter2.Sort(arr1);
        for (Integer integer : arr1) {
            System.out.println(integer);
        }

    }
}
